package resfoods.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.entity.MemberInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @ClassName ResuserDao
 * @since: 2023/8/21 11:46
 * @auth: kirito
 * @description:
 **/
@Repository
@Mapper
public interface MemberDao extends BaseMapper<MemberInfo> {

    @Update("UPDATE orderinfo SET invoice = 1,ano=#{ano} WHERE ono = #{ono}")
    int updateOrder(String ano,String ono);
}
